﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace JT.Domain.Detectability
{
    public class MiddleTable :BaseData
    {
        public int AbilityId { get; set; }
        public int RangeId { get; set; }
        public int MethodId { get; set; }

        [ForeignKey(nameof(AbilityId))]
        public Ability Ability { get; set; }

        [ForeignKey(nameof(RangeId))]
        public DetectionRange DetectionRange { get; set; }

        [ForeignKey(nameof(MethodId))]
        public StandardMethod StandardMethod { get; set; }
    }
}
